Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing: add a test results panel #175414

Merged
merged 1 commit into from
Feb 25, 2023
Merged

testing: add a test results panel #175414

merged 1 commit into from
Feb 25, 2023

Conversation

connor4312
Copy link
Member

@connor4312 connor4312 commented Feb 25, 2023

Previously, as in the issue this fixes #175377, messages without location were treated a little strangely, and messages for tests without a location in either were impossible to view. Them transient nature of the peek has been a longstanding overall experience papercut.

This PR adds a Test Results panel which users can keep around as a persistent results view. It shares the code used to generate the peek view. With this PR, I've also tweaked it slightly so that the test 'history' is by default (unless toggled on) shown only in the panel, aligning the test errors peek more towards the diagnostics view, where the peek is a lighter, local view, and the panel shows everything.

The only real 'addition' to the previously-peek content in this PR is that test output is shown when the top-level run node is selected. Ideally this would be in a terminal where full ANSI codes and colors are supported, but it seems terminal land does not support this very well, and I want to eventually get ANSI color support in text mode anyway (#151964).

image

Previously, as in the issue this fixes #175377, messages without
location were treated a little strangely, and messages for tests without
a location were impossible to view. Them transient nature of the peek
has been a longstanding overall experience papercut.

This PR adds a Test Results panel which users can keep around as a
persistent results view. It shares the code used to generate the peek
view. With this PR, I've also tweaked it slightly so that the test
'history' is by default (unless toggled on) shown only in the panel,
aligning the test errors peek more towards the diagnostics view, where
the peek is a lighter, local view, and the panel shows everything.

The only real 'addition' to the previously-peek content in this PR is
that test output is shown when the top-level run node is selected.
_Ideally_ this would be in a terminal where full ANSI codes and colors
are supported, but it seems terminal land does not support this very
well, and I want to eventually get ANSI color support in text mode
anyway (#151964).
@connor4312 connor4312 enabled auto-merge (squash) February 25, 2023 06:12
@vscodenpa vscodenpa added this to the March 2023 milestone Feb 25, 2023
@connor4312 connor4312 merged commit 96e3e18 into main Feb 25, 2023
@connor4312 connor4312 deleted the connor4312/issue175377 branch February 25, 2023 14:52
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test messages without a location should be visible
3 participants